package com.example.mapper;

import com.example.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Description:
 * User: 阿宾
 * Date: 2025-04-18
 * Time: 14:27
 */
@Mapper
public interface ArticleInfoXMLMapper {


    List<ArticleInfo> selectArticleById(Integer id);

    /**
     * 多表查询
     * @param id
     * @return
     */
    List<ArticleInfo> selectArticleAndUserById(Integer id);


}
